
Partial Class wfrmDetalleProyecto1
    Inherits System.Web.UI.Page

    Protected Sub Button4_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCancelar.Click
        Response.Redirect("frmListaProyecto.aspx")
    End Sub

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not Page.IsPostBack Then

            If Session("editar") = "editar" Then
                txtCCliente.Text = "6000"
                txtCEncargo.Text = "1234"
                txtNCliente.Text = "COCA COLA"
                txtDEncargo.Text = "Revision de EEFF"
                txtLos.Text = "ASS"
                txtSubLos.Text = "ASS"
                txtIndustria.Text = "Finanzas"
                txtCanal.Text = "Dos"
                txtHoras.Text = "30"
                txtMontoGastoPresupuestado.Text = "2000.00"
                txtFechaPropuesta.Text = "10/10/2012"
                txtDuracion.Text = "120"
                txtDescripcion.Text = "Revision de EEFF"
                txtObservacion.Text = "Revision de EEFF"
            Else
                txtCCliente.Text = "0"
                txtCEncargo.Text = "0"
                txtNCliente.Text = ""
                txtDEncargo.Text = ""
                txtLos.Text = ""
                txtSubLos.Text = ""
                txtIndustria.Text = ""
                txtCanal.Text = ""
                txtHoras.Text = ""
                txtMontoGastoPresupuestado.Text = ""
                txtFechaPropuesta.Text = ""
                txtDuracion.Text = ""
                txtDescripcion.Text = ""
                txtObservacion.Text = ""
            End If

            btnRecuperarSDB.Attributes.Add("OnClick", "javascript:{window.open('wfrmSDBBuscar.aspx','CargarFoto','width=700,height=400,left=450, top=200,directories=no,location=no,menubar=no,resizable=no,scrollbars=1,status=no,toolbar=no'); windows.focus();}")
            btnBuscarSocio.Attributes.Add("OnClick", "javascript:{window.open('wfrmBusquedaElipsys.aspx','CargarFoto','width=700,height=400,left=450, top=200,directories=no,location=no,menubar=no,resizable=no,scrollbars=1,status=no,toolbar=no'); windows.focus();}")
            btnBuscarGerente.Attributes.Add("OnClick", "javascript:{window.open('wfrmBusquedaElipsys.aspx','CargarFoto','width=700,height=450,left=450, top=200,directories=no,location=no,menubar=no,resizable=no,scrollbars=1,status=no,toolbar=no'); windows.focus();}")

        End If


    End Sub

    Protected Sub btnGuardar_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnGuardar.Click

    End Sub

    Protected Sub Button5_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRecuperarSDB.Click

    End Sub

    Protected Sub btnBuscarSocio_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnBuscarSocio.Click

    End Sub

    Protected Sub btnBuscarGerente_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnBuscarGerente.Click

    End Sub
End Class
